package construction.proxy.cglib;

public class Test {
    public static void main(String[] args) {

        //cglib 不需要接口
//        ProxyFactory proxyFactory = new ProxyFactory(new TeacherDao());

//        TeacherDao  teacherDao = (TeacherDao)proxyFactory.getProxyInstance();
//        teacherDao.teach();
    }
}
